package com.example.b_308.medical.view;

import android.content.Intent;
<<<<<<< HEAD:app/src/main/java/com/example/b_308/medical/view/MainActivity.java
import android.os.Bundle;
=======
import android.os.AsyncTask;
import android.os.Message;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.widget.ListView;
import android.widget.TextView;
>>>>>>> origin/master:app/src/main/java/com/example/b_308/medical/MainActivity.java

import com.example.b_308.medical.R;
import com.example.b_308.medical.view.base.BaseActivity;
import com.example.b_308.medical.view.base.IBaseView;

public class MainActivity extends BaseActivity implements IBaseView{

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        tentForResoult(Main2Activity.class,1);
    }

    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
        if (1==requestCode){
            if(3==resultCode){

            }
        }
    }


    @Override
    public void fail(String message) {

    }
}
